package pojo;

import java.util.HashSet;
import java.util.Set;

/**
 * Departmenttype entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Departmenttype implements java.io.Serializable {

	// Fields

	private Integer dptid;
	private String dptname;
	private String dptdes;
	private Integer dptvalue;
	private Set departments = new HashSet(0);

	// Constructors

	/** default constructor */
	public Departmenttype() {
	}

	/** full constructor */
	public Departmenttype(String dptname, String dptdes, Integer dptvalue,
			Set departments) {
		this.dptname = dptname;
		this.dptdes = dptdes;
		this.dptvalue = dptvalue;
		this.departments = departments;
	}

	// Property accessors

	public Integer getDptid() {
		return this.dptid;
	}

	public void setDptid(Integer dptid) {
		this.dptid = dptid;
	}

	public String getDptname() {
		return this.dptname;
	}

	public void setDptname(String dptname) {
		this.dptname = dptname;
	}

	public String getDptdes() {
		return this.dptdes;
	}

	public void setDptdes(String dptdes) {
		this.dptdes = dptdes;
	}

	public Integer getDptvalue() {
		return this.dptvalue;
	}

	public void setDptvalue(Integer dptvalue) {
		this.dptvalue = dptvalue;
	}

	public Set getDepartments() {
		return this.departments;
	}

	public void setDepartments(Set departments) {
		this.departments = departments;
	}

}